{% spaceless %}

<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>
        {% if void.page_title %}
            {{ void.page_title }} - 
        {% endif %}
        think
    </title>
    <link rel="stylesheet" href="/static/style/style.css" type="text/css" />
    <script type="text/javascript" src="/static/style/prettify/prettify.js"></script>
    <link href="/static/style/prettify/prettify.css" type="text/css" rel="stylesheet" />
    <meta name="google-site-verification" content="pPKh1ss7nWGtn0CjJLwNejH7p8X792yb5WQFgmZNQ5g" />
</head>

{% include "google_analytics.html" %}

<body onload="prettyPrint()">

<div id="header">
    <a id="header_title" href="/">think</a><br>
    <div id="header_description">something fast</div>
</div>

<div id="sidebar">
    <div id="username">
        <div class="rbox"><b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>

        {% if user.user %}
            <div id="usernameavatar">
            <img src="http://www.gravatar.com/avatar/{{ user.email_md5 }}?s=32&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D32&r=G" border="0" width="32" height="32">
            </div>
            <div id="usernametextin">
                {{ user.nickname }}
                {% if user.admin %}
                    <b>(root)</b>
                {% endif %}
                <a href="{{ user.logout_url }}">*</a>
            </div>
        {% else %}
            <div id="usernametextout"><a href="{{ user.login_url }}">Login</a> via Google</div>
        {% endif %}

        <b class="rbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b></div> 
    </div>

    {% if user.admin %} 
    <div class="sidebartitle">ADMIN ONLY</div>
        <div class="sidebarsubtitle">Elapsed {{ elapsed|floatformat:3 }}</div>
    {% endif %}

    <div class="sidebartitle">BLOG</div>
        <div class="sidebarsubtitle">
        <a href="/blog/?c=technology">Technology</a> ({{ void.post_num_blog_technology }})<br>
        <a href="/blog/?c=more">And More</a> ({{ void.post_num_blog_more }})<br>
        </div>

    <div class="sidebartitle">Attic</div>
        <div class="sidebarsubtitle">
        <a href="/delicious/">Delicious</a>
        </div>
</div>

<div id="center">

{% endspaceless %}
